package fun.hijklmn.magic.resource.common.enums;

/**
 * @Description
 * @Author fs
 * @Date 2021/6/11 11:33
 * @Version 0.0.1-SNAPSHOT
 **/
public enum FileTypeEnum {

    IMAGE(1, "image", "图片"),
    SOUND(2, "sound", "声音"),
    VIDEO(3, "video", "视频"),
    DOCUMENT(4, "document", "文档"),
    ;

    FileTypeEnum(Integer code, String type, String description) {
        this.code = code;
        this.type = type;
        this.description = description;
    }

    public String type() {
        return this.type;
    }

    private Integer code;

    private String type;

    private String description;

}
